﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace MSSClient.Model
{
    public class SucceseListModel : INotifyPropertyChanged
    {

        //上传成功列表实体
        public int index;
        public string group;
        public int count;
        public string status;
        public string date;
        public int logMark;//0-本次上传，1-本次上传成功，2-本次上传失败
        public int Index
        {
            get { return index; }
            set { index = value; OnPropertyChanged(new PropertyChangedEventArgs("Index")); }
        }
        public int Count
        {
            get { return count; }
            set { count = value; OnPropertyChanged(new PropertyChangedEventArgs("Count")); }
        }
        public string Status
        {
            get { return status; }
            set { status = value; OnPropertyChanged(new PropertyChangedEventArgs("Status")); }
        }

        public string Date
        {
            get { return date; }
            set { date = value; OnPropertyChanged(new PropertyChangedEventArgs("Date")); }
        }

        public string Group
        {
            get { return group; }
            set { group = value; OnPropertyChanged(new PropertyChangedEventArgs("Group")); }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        public void OnPropertyChanged(PropertyChangedEventArgs e)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, e);
            }
        }
    }
}
